﻿using System;
using MedicWeb.MedicService;

namespace MedicWeb.forms.Editors.Directory {
    public partial class PrintTemplateEdit : SessionPage {


        protected void Page_Load(object sender, EventArgs e) {
            string id = Request.QueryString["id"];
            Form.Action = ResolveUrl("~/forms/Editors/Directory/PrintTemplateEdit.aspx");
            var ms = new MainService();
            if (id != null) {
                Form.Action += "?id=" + id;
                //template = ms.LoadPrintTemplate(GetSession(), Convert.ToInt32(id));
            } else {
                //template = new PrintTemplateOrder();
            }
            if (!IsPostBack) {
                
                
            }
        }

        protected void btnSave_Click(object sender, EventArgs e) {
            var ms = new MainService();
            
        } 
    }
}